home *** CD-ROM | disk | FTP | other *** search
- ! C68 4 byte floating point routine to test zero
- !-----------------------------------------------------------------------------
- ! #1 First version Dave and Keith Walker 08/92
- ! #2 Changed entry/exit code for C68 v4.3 compatibility -djw- 09/93
- !-----------------------------------------------------------------------------
-
- .sect .text
- .define .Xsftst
-
- .Xsftst:
- move.l 4(sp),a0 ! pointer to value
- tst.l (a0) ! test it
- move.l (sp)+,a0 ! get return address
-
- add.l #4,sp ! collapse stack
- jmp (a0) ! return
-
-